<?php
namespace view;

	class Loginview {
		/**
		 * @var $sessionLoggedIn string
		 * @var $getLogout string
		 * @var $sessionLoginCookie string
		 */
		private static $sessionLoggedIn = "loggedin";
		private static $getLogout = "logout";
		private static $sessionLoginCookie = "sessionLoginCookie";

		public function getLogoutInfo() {
			return isset($_GET[self::$getLogout]);
		}

		public function setSessionLogin() {
			$_SESSION[self::$sessionLoggedIn] = true;
		}
	}
?>